<?php
require_once 'class/weapon.php';
require_once 'class/handgun.php';
require_once 'class/sniper.php';
require_once 'class/factory.php';

require_once 'class/ifactory.php';
require_once 'class/handgunfactory.php';
require_once 'class/sniperfactory.php';

$handgunFactory = new HandgunFactory();
$handgun = $handgunFactory->getWeapon();

$sniperFactory = new SniperFactory();
$sniper = $sniperFactory->getWeapon();

$handgun->display();
$sniper->display();

